package net.maku.newbase.annotation.redis;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(value = ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisRW {

    String key() default "";

    String tag() default "";

    Class c() default String.class;

    boolean isList() default false;

    /**
     * 存储键值对 数据名称
     *
     * @return
     */
    String tableField() default "";
}
